package com.tedu.egmybatis2.mapper;

import com.tedu.egmybatis2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {

    int insert(Product product);

    Product selectById(Integer id);

    int deleteById(Integer id);

    List<Product> selectAll();
}
